avoid processing-intensive painting of high number of tiny dashes
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Mon, 21 Feb 2022 21:00:28 +0000 (21:00 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Mon, 21 Feb 2022 21:00:28 +0000 (21:00 +0000)
commit7ef47289f2df5a79aacb61063aa2f07fade34dfd
tree43376904788cd6884806a6e4a27b5f0042664cc3
parent4e4a60c6d76bd7999d2f8c23fd89b53bdc280921
avoid processing-intensive painting of high number of tiny dashes

Origin: upstream, commits:
 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=f4d791b330d02777
 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=6b400e3147dcfd8c
 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=84aba80944a2e1c3
 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=cca8ed0547405b1c
Last-Update: 2021-11-27

When stroking a dashed path, an unnecessary amount of processing would
be spent if there is a huge number of dashes visible, e.g. because of
scaling. Since the dashes are too small to be individually visible
anyway, just replace with a semi-transparent solid line for such
cases.

Gbp-Pq: Name CVE-2021-38593.diff
src/gui/painting/qpaintengineex.cpp